import { createApp } from 'vue'
import App from './App.vue'
// 导入全局样式
import '@/assets/base.scss'
// 导入iconfont
import '@/assets/icon/iconfont.css'

import Verify from '@/utils/verify'
// 导入router
import router from './router';
// 导入自定义组件
import Dialog from "@/components/Dialog.vue";
// 创建vue实例
const app =createApp(App);
// 注册路由
app.use(router);
// 注册自定义组件
app.component("Dialog", Dialog);
app.config.globalProperties.Verify = Verify;

// 挂载到id为app的div上
app.mount('#app');
